Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Java 17 JDK in acceptance tests #1115

Merged
merged 4 commits into from
Jan 6, 2025
Merged

Install Java 17 JDK in acceptance tests #1115

merged 4 commits into from
Jan 6, 2025

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Jan 6, 2025

Pull Request (PR) description

Jenkins 2.479.1 requires Java 17 or newer and breaks with Java 11

This Pull Request (PR) fixes the following issues

@evgeni evgeni changed the title Install Java 17 JDK in acceptance tests on Red Hat OSes Install Java 17 JDK in acceptance tests Jan 6, 2025
@ekohl
Copy link
Member

ekohl commented Jan 6, 2025

Marking as draft so we first finish #1116.

@ekohl ekohl marked this pull request as draft January 6, 2025 12:09
@evgeni
Copy link
Member Author

evgeni commented Jan 6, 2025

Damn, I hate those tests.

@evgeni evgeni force-pushed the java17 branch 2 times, most recently from 4c47159 to 7d4e27b Compare January 6, 2025 14:53
evgeni added 2 commits January 6, 2025 18:59
Jenkins 2.479.1 requires Java 17 or newer and breaks with Java 11
Jenkins 2.479.1 requires Java 17 or newer and breaks with Java 11
@ekohl
Copy link
Member

ekohl commented Jan 6, 2025

Damn, I hate those tests.

Me too. I really wish we have plugin management that understood dependencies. Ideally based on https://github.com/jenkinsci/plugin-installation-manager-tool.

Comment on lines +3 to +4
StartLimitIntervalSec: '0'
StartLimitBurst: '0'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Someone was so smart to set

StartLimitBurst=5
StartLimitIntervalSec=5m

as the default in the jenkins.service file -- we restart it a tad more often during tests, and well, at some point systemd refuses to restart further.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't hurt to have that in the commit message or comment, but here in the PR is a good start

@evgeni evgeni marked this pull request as ready for review January 6, 2025 19:21
@evgeni evgeni merged commit 33c557d into master Jan 6, 2025
23 checks passed
@evgeni evgeni deleted the java17 branch January 6, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants